<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>

	<input type="file" name="file" id="file_test" onchange="beginFileUpload('file_test')"/>
</body>

<script src="public/sys_js/jquery.min.js" type="text/javascript"></script>
<script src="public/sys_js/easyui/jquery.easyui.min.js" type="text/javascript"></script>
<script src="public/sys_js/easyui/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
<script src="public/sys_js/base.js" type="text/javascript"></script>
<script src="public/sys_js/ajaxfileupload.js" type="text/javascript"></script>
<script type="text/javascript">
	function beginFileUpload(id){
		$.fileUpload(id,{},function(data){
			alert(data);
		});
	}
</script>
</html>